lib/commit: Only set generate_sizes for archive repos
authorDan Nicholson <nicholson@endlessm.com>
Wed, 23 Oct 2019 19:05:48 +0000 (13:05 -0600)
committerDan Nicholson <nicholson@endlessm.com>
Tue, 21 Jan 2020 03:42:27 +0000 (20:42 -0700)
commit37045b4b468460785926d73cc2bc4d288caaa9b3
tree1db19960f9ce8653f896a417e475562085cdb650
parent20d84f40faa0dd5218b2f494c7c96c2939d35339
lib/commit: Only set generate_sizes for archive repos

Rather than checking throughout the code, only set the boolean when
appropriate.
src/libostree/ostree-repo-commit.c